package impl;

import java.io.RandomAccessFile;

/**
 * A classe Files guarda as referências para os arquivos utilizados pelo programa
 * @author Lucas
 */
public class Files {

    public static String EMPLOYEES_FILE = "files/employees.dat";
    public static String RELATIVES_FILE = "files/relatives.dat";
    public static String EMP_NEXT_ID_FILE = "files/empnextid.dat";
    public static String REL_NEXT_ID_FILE = "files/relnextid.dat"; 
    public static RandomAccessFile getFile(String path) {
        RandomAccessFile raf = null;
        try {
            raf = new RandomAccessFile(path, "rw");
        } catch (Exception e) {
            e.printStackTrace();
        }
        return raf;
    }
}
